package com.cloud.phone.task.bean;

import androidx.annotation.Nullable;

public class PersonInfo extends BaseTaskBean{
    private String nickName;
    private String userName;
    private String attentionText;

    @Override
    public boolean equals(@Nullable Object obj) {
        if(obj instanceof PersonInfo){
            PersonInfo otherInfo= (PersonInfo) obj;
            return this.userName.equals(otherInfo.userName);
        }
        return super.equals(obj);
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAttentionText() {
        return attentionText;
    }

    public void setAttentionText(String attentionText) {
        this.attentionText = attentionText;
    }
}
